package de.dubiel.plung.client.services;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import de.dubiel.plung.shared.dao.HighScore;
import de.dubiel.plung.shared.dao.User;
import de.dubiel.plung.shared.exception.NoGoogleUserException;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("user")
public interface UserService extends RemoteService {
    User getUser(String callbackURL) throws NoGoogleUserException;
    void updateUser(User user);
    HighScore getHighScoreList(int start, int length);
}
